<script setup lang="ts">
const info = ref<{
  address: string
  mobile: string
  bank: string
  bank_account: string
  remark: string
}>()

onLoad((options) => {
  if (!options?.info)
    return
  info.value = JSON.parse(options.info)
})
</script>

<template>
  <view class="min-h-screen bg-white">
    <ListCell>
      <template #label>
        <view class="text-28rpx text-#999999 leading-40rpx">
          注册地址
        </view>
      </template>
      <view class="text-28rpx text-#333333 font-medium leading-28rpx">
        {{ info?.address }}
      </view>
    </ListCell>
    <Divider width="702" />
    <ListCell>
      <template #label>
        <view class="text-28rpx text-#999999 leading-40rpx">
          注册电话
        </view>
      </template>
      <view class="text-28rpx text-#333333 font-medium leading-28rpx">
        {{ info?.mobile }}
      </view>
    </ListCell>
    <Divider width="702" />
    <ListCell>
      <template #label>
        <view class="text-28rpx text-#999999 leading-40rpx">
          开户银行
        </view>
      </template>
      <view class="text-28rpx text-#333333 font-medium leading-28rpx">
        {{ info?.bank }}
      </view>
    </ListCell>
    <Divider width="702" />
    <ListCell>
      <template #label>
        <view class="text-28rpx text-#999999 leading-40rpx">
          银行账号
        </view>
      </template>
      <view class="text-28rpx text-#333333 font-medium leading-28rpx">
        {{ info?.bank_account }}
      </view>
    </ListCell>
    <Divider width="702" />
    <ListCell>
      <template #label>
        <view class="text-28rpx text-#999999 leading-40rpx">
          备注
        </view>
      </template>
      <view class="text-28rpx text-#333333 font-medium leading-28rpx">
        {{ info?.remark }}
      </view>
    </ListCell>
  </view>
</template>

<route lang="yaml">
name: 'issuingInvoicesMoreInfo'
style:
  navigationBarTitleText: '更多信息'
layout: 'custom'
</route>
